TimeInfo/Get

Function

This API allows the working device to retrieve the time period for backup recordings from the hot standby device.

Request Message

None

Sample:

POST /API/RecordPatch/TimeInfo/Get HTTP/1.1
{
    "data":{}
}

Response Message

Parameter Description

Table 1

ParameterRangeTypeDescription
channelsobjectFor detailed information, please refer to Table 2.

Table 2

ParameterRangeTypeDescription
"CH1"…"CHx"
"IP_CH1"…"IP_CHx"
"WIFI_CH1"…"WIFI_CHx"
0 ~ 4object arrayFor detailed information, please refer to Table 3.

Table 3

ParameterRangeTypeDescription
start_timeintStarting time.
end_timeintEnding time.

Sample:

HTTP/1.1 200 OK
Content-Type: application/json
{
    "result": "success",
    "data": {
        "channels": {
            "CH1": [
                {
                    "start_time": 1481290144,
                    "end_time": 1481290249
                }
            ]
        }
    }
}